spring |
您所在的位置:网站首页 › springboot application › spring |
Question : I have been trying to register my spring boot application (client) to the SBA server. When I start the client application, it gives error message as below: [2018-06-29T13:26:30,069] WARN de.codecentric.boot.admin.client.registration.ApplicationRegistrator - Failed to register application as Application(name=spring-boot-application, managementUrl=http://hostmachine:9062/boot/actuator, healthUrl=http://hostmachine:9062/boot/actuator/health, serviceUrl=http://hostmachine:9062/boot) at spring-boot-admin ([http://host.com:6789/admin/instances]): 401 null. Further attempts are logged on DEBUG level Following is my SBA server application properties: spring.boot.admin.context-path=/admin spring.boot.admin.ui.title=test admin server.address=host.com server.port=6789 spring.security.user.name=user spring.security.user.password=passwordand following is my client application properties management.endpointrics.enabled=true management.endpoints.web.exposure.include=* spring.boot.admin.client.url=http://host.com:6789/admin spring.boot.admin.username=user spring.boot.admin.password=passwordWhat am I doing wrong here ? |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |